package com.calm.logincenter;

import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * Create by @Calm
 *
 * @date 2021/3/5 14:22
 * @note
 **/
public class OneActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_page);
        TextView tvInfo = findViewById(R.id.page_tv_info);
        String name = getIntent().getStringExtra("PARAMS0");
        Log.e("CALM","name="+name);
        Bundle bundle = getIntent().getExtras();
        if(bundle != null){
            int params1 = bundle.getInt("PARAMS1");
            Log.e("CALM","params1="+params1);
        }
        tvInfo.setText("页面一");
    }
}
